// In this file are all the functions for the memory

#include <system.h>

/* Simple memcpy function.
  * Needs some improving, it isn't very fast right now.
  *
  */
unsigned char *memcpy(unsigned char *dest, const unsigned char *src, int count)
{
	while ( count-- > 0)
	{
		*dest++ = *src++;
	}
	return *dest;
}

/* Simple memset function.
  * Needs some improving, it isn't very fast right now.
  *
  */
unsigned char *memset(unsigned char *dest, unsigned char val, int count)
{
	
}
